#pragma once
#include "Command.h"
#include "WallModel.h"

class CommandPlaceWall : public Command
{
private:
	WallModel* wall;

public:
	CommandPlaceWall(CommandAction*, PlayerModel*, WallModel*);
	virtual void doo();
	virtual void undo();
	virtual bool check();
	virtual void validate();
	virtual void cancel();

	WallModel* getWall() { return wall; }
};

